package com.snap.vseries.bean;

import java.io.Serializable;

import io.protostuff.Tag;

public class TempBean implements Serializable {

    @Tag(1)
    private int temperature;//用户看到的值 部分是拟合的值
    @Tag(2)
    private int sec;
    @Tag(3)
    private int realTemp;//真实的值（其实也是温漂计算后的值）

    public TempBean() {
    }

    public TempBean(int temperature, int sec) {
        this.temperature = temperature;
        this.sec = sec;
    }

    public TempBean(int sec, int temperature, int realTemp) {
        this.sec = sec;
        this.temperature = temperature;
        this.realTemp = realTemp;
    }

    public int getTemperature() {
        return temperature;
    }

    public void setTemperature(int temperature) {
        this.temperature = temperature;
    }

    public int getSec() {
        return sec;
    }

    public void setSec(int sec) {
        this.sec = sec;
    }

    public int getRealTemp() {
        return realTemp;
    }

    public void setRealTemp(int realTemp) {
        this.realTemp = realTemp;
    }
}
